<#escape x as x?html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>权限界面</title>
	<link href="${rc.contextPath}/Resources/style/style.css" rel="stylesheet" type="text/css" />
 <style>
    .record_list
	{ margin-top:15px;
	  
		
		}
		 .record_list li
		 {
			  border-bottom: 1px solid green;
			    float: left;
			    height: 30px;
			    line-height: 30px;
			    margin-left: 2%;
			    padding-left: 100px;
			    padding-right: 100px;
			    width: 80%;
			 }
			  .record_list li a
			  {
				  display:block;
				  float:left;
				  padding-left:30px;
				  }
				  .record_list li span
				  {
					    display:block;
				  float:right;
				   padding-right:30px;
				  }
				   .record_list  .footer3
				   {
					    height:30px;
				      }
    </style>
</head>

<body>
  <table class="layout" cellspacing="0" cellpadding="0">
        <tr>
            <td class="left_side">
                <div class="person">
                    <img class="png" src="${rc.contextPath}/Resources/images/portrait.png" />
                    <div class="welcome">
                        欢迎您,&nbsp;${Session["currentUser"].fullName}&nbsp;!
                          <br />当前作为&nbsp;
                    <#if Session["currentUser"].role == 2>
                    	系统管理员
                    <#elseif Session["currentUser"].role == 1>
                    	观察员
                    <#else>
                		普通用户
                    </#if>        
             	&nbsp;登录.
                    </div>
                </div>
                <ul class="accordion" style="margin-top: 0px;" >
                    <li class="item">
		                <a class="item" href="javascript:void(0)">HSE观察与沟通</a>
		                <ul class="inner">
		                    <li id="records_qx"><a onclick="loadList();">安全检查记录</a></li>
		                   <li id="enter_qx"><a onclick="loadText();">安全记录填写</a></li>
		                    
		                </ul>
		            </li>
                     <li  id="gl_qx"class="item">
                        <a class="item" onclick="loadAuthority();">权限分配</a>
                    </li> 
                </ul>
            </td>
            <td align="center" valign="middle" class="right_main" style="height">
                <div class="panel">
                    <div class="banner">
                        <h2 class="title">安全监察纪录</h2>
                        <a class="expand" href="javascript:void(0)"></a>
                    </div>
                    <div class="content">
                         <div class="reserch-bar" width="100%" height="34px">
                           <table width="100%" class="text4" align="center"  height="34px"border="0" cellspacing="0" cellpadding="0">
                                     <tr>
                                          
                                           <td width="4%" align="right" valign="middle">选择：</td>
                                           <td width="22%" align="left" ><input id="selectItem" name="selectItem" class="text1"></td>
                                           <td width="12%" align="right" >输入关键字：</td>
                                           <td width="22%" align="left" ><input id="key" name="key" type="text" class="text2"></td>
                                           <td width="6%" align="left" ><button id="search" name="search" class="button-reserch" onclick="search();">搜索</button></td>
                                           <td width="35%"></td>
                                     </tr>
                                 </table>
                           </div>
               		<input id='currentPage' value="1" type='hidden'><input id='totalPages' type='hidden'><input id='totalCount' type='hidden'>
               		<div style="height:915px;">
	                    <table id="records"  class="detail-list" style="text-align:center;" width="100%" border="1" cellspacing="0" cellpadding="0">
						 
					  </table>
               		</div>
                    <div id="pager" class="footer3" height="34px" style="clear:both;text-align:center;"></div>
               </div>
              </div>
            </div>
            </td>
        </tr>

    </table>
</body>
</html>
</#escape>